package com.feishi.project.elasticsearch.repository;

import com.feishi.project.elasticsearch.bean.AccountInfo;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Component;

/**
 * @version 1.0
 * @auth caixq
 * @time 18-4-11 10:06
 **/
@Component("elasticAccountInfoRepository")
public interface ElasticAccountInfoRepository extends ElasticsearchRepository<AccountInfo,String> {
    //TODO define the search
    AccountInfo findByAccountName(String accountName);
}